package com.lin.mapper;

import com.lin.entity.MusicData;
import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface MusicDataMapper {



    void setMusic(MusicData musicData);

    @Delete("delete from music_data where user_id = #{userId} and music_id = #{musicId}")
    boolean delete(MusicData musicData);
}
